package com._21cn.cms.yellow.dao.mybatis;

import com._21cn.cms.yellow.dao.YellowPagePictureDao;
import com._21cn.cms.yellow.entity.YellowPagePicture;
import com._21cn.framework.base.db.mybatis.BaseDaoMybatis;
import org.apache.ibatis.session.SqlSessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Required;
import org.springframework.stereotype.Repository;

@Repository("yellowPagePictureDao")
public class YellowPagePictureDaoMybatis extends BaseDaoMybatis<YellowPagePicture>
        implements YellowPagePictureDao
{
    public YellowPagePictureDaoMybatis()
    {
        setNameSpace("t_cms_yellow_page_picture");
    }
    @Required
    @Autowired
    @Qualifier("sqlSessionFactory")
    public void setSqlSessionFactory(SqlSessionFactory sqlSessionFactory) { super.setSqlSessionFactory(sqlSessionFactory); }

}